package com.ruoyi.media.mpQrcode.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 微信群二维码参数业务对象 media_mp_qrcode_link
 *
 * @author dqw
 * @date 2023-04-24
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class MediaMpQrcodeLinkBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 部门id
     */
    //@NotNull(message = "部门id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long deptId;

    /**
     * 用户id
     */
    //@NotNull(message = "用户id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 链接地址
     */
    @NotBlank(message = "链接地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String link;

    /**
     * 二维码参数
     */
    //@NotBlank(message = "二维码参数不能为空", groups = { AddGroup.class, EditGroup.class })
    private String qrCodeData;

    /**
     * 微信已关注账号
     */
    //@NotBlank(message = "微信已关注账号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String account;

    /**
     * 备注
     */
    //@NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 链接数量
     */
    private Integer linkNum;
    /**
     * 最新图片地址
     */
    private String imageUrl;

}
